package com.liqi.display.mapper;

import com.liqi.display.entity.returnType.TopTaskWindowNo;
import com.liqi.display.entity.UpProEval;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liqi
 * @since 2021-04-13
 */
public interface UpProEvalMapper extends BaseMapper<UpProEval> {
        int total(@Param("stars") Integer stars,@Param("date") Date date);

        List<TopTaskWindowNo> TopTaskWindowNo(Date date);

        List<TopTaskWindowNo> specilEval(@Param("startLevel")int startLevel, @Param("endLevel")int endLevel, @Param("date")Date date);

        List<TopTaskWindowNo> scoreEval(Date date);
}
